package com.niu.core.service.admin.sys.param;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 后台管理员参数
*/
@Data
public class SysUserParam implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer uid;

    @NotNull(message = "username参数缺失")
    private String username;

    @NotNull(message = "headImg参数缺失")
    private String headImg;

    @NotNull(message = "password参数缺失")
    private String password;

    @NotNull(message = "realName参数缺失")
    private String realName;

    @NotNull(message = "lastIp参数缺失")
    private String lastIp;

    @NotNull(message = "lastTime参数缺失")
    private Long lastTime;

    @NotNull(message = "loginCount参数缺失")
    private Integer loginCount;

    @NotNull(message = "status参数缺失")
    private Integer status;

    @NotNull(message = "isDel参数缺失")
    private Integer isDel;

    private List<SysCreateSiteLimitParam> createSiteLimitParamList;

}
